package com.gxa.modules.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

//用户管理前端接受数据实体类
@ApiModel("后端接受客户模块对象")
@Data
public class CustomerMap {
    //当前页码
    @ApiModelProperty(name = "currentPage",notes = "当前页",dataType = "Integer",required = false)
    private Integer currentPage;
    //每页行数
    @ApiModelProperty(name = "pageSize",notes = "每页行数",dataType = "Integer",required = false)
    private Integer pageSize;
    @ApiModelProperty(name = "id",notes = "客户ID",dataType = "Integer",required = false)
    private Integer id;
    @ApiModelProperty(name = "name",notes = "客户姓名",dataType = "String",required = false)
    private String name;
    @ApiModelProperty(name = "registration_time",notes = "注册时间",dataType = "Date",required = false)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registration_time;
    @ApiModelProperty(name = "member_grade_id",notes = "会员等级",dataType = "Date",required = false)
    private Integer member_grade_id;
}
